package com.dj.mingkong.admin.biz.service.music;

import com.dj.mingkong.admin.biz.controller.music.vo.request.MusicianAddVo;
import com.dj.mingkong.admin.biz.controller.music.vo.request.MusicianQueryVo;
import com.dj.mingkong.admin.biz.controller.music.vo.request.MusicianUpdateVo;
import com.dj.mingkong.admin.biz.controller.music.vo.response.MusicianVo;
import com.dj.mingkong.common.infrastructure.base.dto.delete.DeleteVo;
import com.dj.mingkong.common.infrastructure.base.dto.page.PageVo;

import java.util.List;

/**
 * 音乐人管理服务接口
 *
 * @author zenglonghui
 * @date: 2022/7/22 15:48
 */
public interface MusicianService {
    /**
     * 音乐人保存
     *
     * @param addVo {}
     */
    void insert(MusicianAddVo addVo);

    /**
     * 音乐人修改
     *
     * @param updateVo {}
     */
    void updateById(MusicianUpdateVo updateVo);

    /**
     * 音乐人删除
     *
     * @param deleteVo {}
     */
    void deleteById(DeleteVo deleteVo);

    /**
     * 分页查询音乐人列表
     *
     * @param queryVo {}
     * @return PageVo<MusicianVo>
     */
    PageVo<MusicianVo> pageByVo(MusicianQueryVo queryVo);

    /**
     * 获取所有音乐人数据
     *
     * @return List<MusicianVo>
     */
    List<MusicianVo> listAll();

}
